// -*- coding: utf-8 -*- 
/**
 * Project: Java8InActionT
 *
 * @author: yanking
 * Create time: 2022-03-19 23:12
 * IDE: IntelliJ IDEA
 * Introduction:
 */
package com.defaultMethod;

import org.junit.jupiter.api.Test;

public class chemicalTeacher extends teacher {
    @Override
    String getName() {
        return "I am chemical teacher!";
    }


    @Test
    public void shout() {
        System.out.println(new chemicalTeacher().getName());
    }
}
